package com.hongyuan.sellcoach.ui.main.interfaces;

import android.webkit.JavascriptInterface;

import com.hongyuan.sellcoach.base.CustomActivity;
import com.just.agentweb.AgentWeb;

public class AndroidInterfaceWeb {
    private AgentWeb agent;
    private CustomActivity mActivity;

    public AndroidInterfaceWeb(AgentWeb agent, CustomActivity mActivity) {
        this.agent = agent;
        this.mActivity = mActivity;
    }

    /*
    * 拨打手机
    * callNumber:要呼叫的电话号码
    * */
    @JavascriptInterface
    public void androidCall(String callNumber){
        /*CustomDialog.callTel(mActivity, callNumber, v -> {
            viewModel.callTel(callNumber);
        });*/

    }

}
